﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IceDog.EFCore.Models.Blog
{
    /// <summary>
    /// 用户文章中间模型
    /// </summary>
    public class UserWithArticle
    {
        /// <summary>
        /// 博客文章id
        /// </summary>
        public int ArticleId { get; set; }
        /// <summary>
        /// 博客文章
        /// </summary>
        public BlogArticle Article { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户
        /// </summary>
        public BlogUser User { get; set; }
    }
}
